﻿using SP.Domain.Model;
using SP.Service.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SP.Service
{
    public interface IRelationService
    {
        PageModel<UserRoleRelationOUTDTO> RelationList(int pageIndex,int pageSize, string? UserName);
        int AddRelation(int Uid,string Rid);
        List<RoleTable> RoleList();
        int DeleteRelation(RoleUserRelation model);
        object PermissList();
        //导航菜单
        object NavPermissList();
        PageModel<UserTable> UserPageList(int pageIndex, int pageSize, string? UserName);
    }
}
